php string only letters

39

php string only letters -

$result = preg_replace("/[^a-zA-Z0-9]+/", "", $s);

Comments

Submit
0 Comments